//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.math.BigDecimal;

public class LiveExamExpertDetail implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Long expertId;
    private Long examUserId;
    private Long productId;
    private BigDecimal score;
    private Long standardId;
    private Long createUser;
    private Integer state;

    public LiveExamExpertDetail() {
    }

    public Long getId() {
        return this.id;
    }

    public Long getExpertId() {
        return this.expertId;
    }

    public Long getExamUserId() {
        return this.examUserId;
    }

    public Long getProductId() {
        return this.productId;
    }

    public BigDecimal getScore() {
        return this.score;
    }

    public Long getStandardId() {
        return this.standardId;
    }

    public Long getCreateUser() {
        return this.createUser;
    }

    public Integer getState() {
        return this.state;
    }

    public LiveExamExpertDetail setId(final Long id) {
        this.id = id;
        return this;
    }

    public LiveExamExpertDetail setExpertId(final Long expertId) {
        this.expertId = expertId;
        return this;
    }

    public LiveExamExpertDetail setExamUserId(final Long examUserId) {
        this.examUserId = examUserId;
        return this;
    }

    public LiveExamExpertDetail setProductId(final Long productId) {
        this.productId = productId;
        return this;
    }

    public LiveExamExpertDetail setScore(final BigDecimal score) {
        this.score = score;
        return this;
    }

    public LiveExamExpertDetail setStandardId(final Long standardId) {
        this.standardId = standardId;
        return this;
    }

    public LiveExamExpertDetail setCreateUser(final Long createUser) {
        this.createUser = createUser;
        return this;
    }

    public LiveExamExpertDetail setState(final Integer state) {
        this.state = state;
        return this;
    }

    public String toString() {
        return "LiveExamExpertDetail(id=" + this.getId() + ", expertId=" + this.getExpertId() + ", examUserId=" + this.getExamUserId() + ", productId=" + this.getProductId() + ", score=" + this.getScore() + ", standardId=" + this.getStandardId() + ", createUser=" + this.getCreateUser() + ", state=" + this.getState() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof LiveExamExpertDetail)) {
            return false;
        } else {
            LiveExamExpertDetail other = (LiveExamExpertDetail)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label107: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label107;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label107;
                    }

                    return false;
                }

                Object this$expertId = this.getExpertId();
                Object other$expertId = other.getExpertId();
                if (this$expertId == null) {
                    if (other$expertId != null) {
                        return false;
                    }
                } else if (!this$expertId.equals(other$expertId)) {
                    return false;
                }

                Object this$examUserId = this.getExamUserId();
                Object other$examUserId = other.getExamUserId();
                if (this$examUserId == null) {
                    if (other$examUserId != null) {
                        return false;
                    }
                } else if (!this$examUserId.equals(other$examUserId)) {
                    return false;
                }

                label86: {
                    Object this$productId = this.getProductId();
                    Object other$productId = other.getProductId();
                    if (this$productId == null) {
                        if (other$productId == null) {
                            break label86;
                        }
                    } else if (this$productId.equals(other$productId)) {
                        break label86;
                    }

                    return false;
                }

                label79: {
                    Object this$score = this.getScore();
                    Object other$score = other.getScore();
                    if (this$score == null) {
                        if (other$score == null) {
                            break label79;
                        }
                    } else if (this$score.equals(other$score)) {
                        break label79;
                    }

                    return false;
                }

                label72: {
                    Object this$standardId = this.getStandardId();
                    Object other$standardId = other.getStandardId();
                    if (this$standardId == null) {
                        if (other$standardId == null) {
                            break label72;
                        }
                    } else if (this$standardId.equals(other$standardId)) {
                        break label72;
                    }

                    return false;
                }

                Object this$createUser = this.getCreateUser();
                Object other$createUser = other.getCreateUser();
                if (this$createUser == null) {
                    if (other$createUser != null) {
                        return false;
                    }
                } else if (!this$createUser.equals(other$createUser)) {
                    return false;
                }

                Object this$state = this.getState();
                Object other$state = other.getState();
                if (this$state == null) {
                    if (other$state != null) {
                        return false;
                    }
                } else if (!this$state.equals(other$state)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof LiveExamExpertDetail;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $expertId = this.getExpertId();
        result1 = result * 59 + ($expertId == null ? 43 : $expertId.hashCode());
        Object $examUserId = this.getExamUserId();
        result1 = result * 59 + ($examUserId == null ? 43 : $examUserId.hashCode());
        Object $productId = this.getProductId();
        result1 = result * 59 + ($productId == null ? 43 : $productId.hashCode());
        Object $score = this.getScore();
        result1 = result * 59 + ($score == null ? 43 : $score.hashCode());
        Object $standardId = this.getStandardId();
        result1 = result * 59 + ($standardId == null ? 43 : $standardId.hashCode());
        Object $createUser = this.getCreateUser();
        result1 = result * 59 + ($createUser == null ? 43 : $createUser.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        return result1;
    }
}
